import 'package:flutter/material.dart';

import '../../models/index.dart';

/// 创建网络图片组件
createNetImage({
  required ImageNormalModel model,
}) {
  Widget body = Image.network(
    model.url ?? '',
    width: model.size?.width,
    height: model.size?.height,
  );
  return body;
}
